/**
 * 	 Copyright (c) 2008, 2009 Lukas Zaruba
 * 
 *   This file is part of UniAnalyzer (Universal Analyzer).
 *
 *   UniAnalyzer is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   UniAnalyzer is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public License
 *   along with UniAnalyzer. If not, see <http://www.gnu.org/licenses/>.
 */

package net.zarubsys.unianalyzer.plugin;

import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

public class UnianalyzerPlugin extends AbstractUIPlugin {
	
	private static UnianalyzerPlugin INSTANCE;
	
	public static final String PLUGIN_ID = "net.zarubsys.unianalyzer"; //$NON-NLS-1$

	public UnianalyzerPlugin() {
		// TODO Auto-generated constructor stub
	}
	
	public static UnianalyzerPlugin getDefault() {
		return INSTANCE;
	}
	
	@Override
	public void start(BundleContext context) throws Exception {
		setInstance(this);
		super.start(context);
	}
	
	private static void setInstance(UnianalyzerPlugin instance) {
		INSTANCE = instance;
	}
	
}


/*
 * $Log$
 */